package com.agile.leetcode.easy;

/**
 * @Author ChenZhangKun
 * @Date 2020/3/17 13:35
 */
public class Test {
    private int x;

    public static void main(String[] args) {
        Test t=new Test();
        t.x=5;
        change(t);
        System.out.println(t.x);
        int i=3;
        switch (i){
            case 1:
                System.out.println(1);
                break;
            case 2:
                System.out.println(2);
                break;
            case 3:
                System.out.println(i);
                break;
             default:
                 break;
        }
    }
    private static void change(Test test){
        test.x=3;
    }
}
